﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;

namespace Icoders.MarketTracker.Web.Lib.Response.Services.Impl
{
    public class ObjectSerialzationHelper:IObjectSerialzationHelper
    {
        public string SerializeObjectToJSON(object objectToSerialize)
        {
            return JsonConvert.SerializeObject(objectToSerialize, new IsoDateTimeConverter());
        }
    }
}
